<?php

namespace app\middleware;

use \ltcms\middleware\Middleware_contract;

class Login implements Middleware_contract
{
    /**
     *  处理请求
     */
    public function handle($request,\Closure $next){
        //判断登录请求
        echo "login before";
        $response=$next($request);
        echo "login after";
        return $response;
    }
}


